﻿using UnityEngine;
using System.Collections;
using System.Threading;

public class AniQueue : AniGroup {

	private GameObject aniBasePre;

	protected override void playGroupAniBase(AniBase aniBase) {
		if(aniBasePre) {
			Destroy(aniBasePre);
		}

		aniBasePre = aniBase.gameObject;
		aniBasePre.SetActive(true);
		aniBase.playCallBack(playCallBackGroup);
	}
}
